package com.guigui.common.constant;

public class BizCodeConstant {

    public enum ErrorCodeStatus {
        PHONE_UNIQUE_ERR(150002, "手机号已存在"),
        LOGIN_ERR(150003, "用户名或密码错误"),
        USERNAME_UNIQUE_ERR(150001, "用户名已存在");
        private int code;
        private String msg;

        ErrorCodeStatus(int code, String msg) {
            this.code = code;
            this.msg = msg;
        }

        public int getCode() {
            return code;
        }

        public String getMsg() {
            return msg;
        }
    }
}
